<?php 
use com\soka\SokaModel;

class datostrabajador_Mdl extends SokaModel
{
	public function Insercion($_tra,$_con,$_car){
		try {


			$result = $this->_db->prepare("CALL sp_datostrabajador('{$_tra}','{$_con}','{$_car}') ");
	        $result->execute();
	        $response='ok';

	         } catch (\PDOException $e) {
            print "Error!: " . $e->getMessage() . "<br/>";
        	die();
        }
        return $response;
	}
	
}